package com.zeng.user.web.controller;

import com.zeng.webmvc.controller.PageController;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.ws.rs.Path;
import java.io.IOException;

/**
 * @author zyb
 * @date 2021-03-02 23:10
 */
@Path("/success")
public class SuccessController implements PageController {
    /**
     * @param request  HTTP 请求
     * @param response HTTP 相应
     * @return 视图地址路径
     * @throws ServletException,IOException 异常发生时
     */
    @Override
    public String execute(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        return "index.jsp";
    }
}
